//
//  WYCXingyeController.m
//  快付钱包
//
//  Created by 中企互联 on 2018/1/12.
//  Copyright © 2018年 中企互联. All rights reserved.
//

#import "WYCZhongxinViewController.h"

@interface WYCZhongxinViewController ()<UIWebViewDelegate>
@property(nonatomic,strong)UIWebView * webView;

@end

@implementation WYCZhongxinViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    CGFloat tableviewY = CGRectGetMaxY(self.navigationController.navigationBar.frame);
    
    _webView = [[UIWebView alloc] init];
    _webView.frame = CGRectMake(0, tableviewY, ScreenWidth, ScreenHeight);
    _webView.delegate = self;
    _webView.backgroundColor = [UIColor whiteColor];
    
    
    //请求协议
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://m.cards.ecitic.com/mgmpt/index.html?sid=SJHZF58&uid=SJZSXHL111"]]]];
    [self.view addSubview:_webView];
    
    
    
    self.navigationItem.title = @"中信银行";
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor]}];
    [self.navigationController.navigationBar setBarTintColor:WYCMain];
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
 #pragma mark - Navigation
 
 // In a storyboard-based application, you will often want to do a little preparation before navigation
 - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
 // Get the new view controller using [segue destinationViewController].
 // Pass the selected object to the new view controller.
 }
 */

@end




